Platform Core .NET Assemblies API
ToString(Byte[],Encoding,Boolean) Method
See Also  Send Feedback
Terrasoft.Common Namespace > BytesToStringUtilities Class > ToString Method : ToString(Byte[],Encoding,Boolean) Method
source
The byte array.
encoding
Encoding.
detectEncodingFromByteOrderMarks
true if the instance contains prefix that determines the encoding; else – false.

Glossary Item Box

Gets a System.String instance that is a string representation of the specified byte array in the specified encoding. Instance may contain prefix that determines the encoding.

Syntax

 
C#
 
 

Parameters

source
The byte array.
encoding
Encoding.
detectEncodingFromByteOrderMarks
true if the instance contains prefix that determines the encoding; else – false.

Return Value

A System.String instance that is a string representation of the source byte array in the encoding encoding. If detectEncodingFromByteOrderMarks is true, the prefix that determines the encoding will be added to the System.String instance.

Remarks

Overloaded method.

The extension method for the System.Byte class.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.